package com.wgchao.amc.mapstruct.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;

import com.wgchao.amc.common.validate.Save;
import com.wgchao.amc.common.validate.Update;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @作者  wgchao
 * @时间 2019-11-08 
 * @用途  
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
@JsonInclude(content = JsonInclude.Include.NON_NULL)
@ApiModel(value="SysMenuProjectDTO",description="SysMenuProjectDTO")
public class SysMenuProjectDTO  implements Serializable {

	private static final long serialVersionUID =  4375097042375351591L;

	@NotNull(message = "ID缺失", groups = {Update.class})
	private Long id;

	/**
	 * 项目标识-唯一
	 */
	@NotNull(message = "项目标识缺失", groups = {Save.class, Update.class})
	@ApiModelProperty(value="项目标识-唯一",name="proMark")
	private String proMark;

	/**
	 * 项目名称
	 */
	@NotNull(message = "项目名称缺失", groups = {Save.class, Update.class})
	@ApiModelProperty(value="项目名称",name="proName")
	private String proName;

}
